package com.xydtech.ecard.merchant.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * 营销人员商户建档排名
 *
 * @author yuzhiguo
 * @date 2024-05-25 上午11:28
 */
public class EcardBranchUserFiling extends BaseEntity {

    /**
     * 建档排名
     */
    @Excel(name = "建档排名")
    private Long rank;

    /**
     * 客户经理id
     */
    private Long userId;

    /**
     * 客户经理
     */
    @Excel(name = "客户经理")
    private String userName;

    /**
     * 机构Id
     */
    private Long deptId;

    /**
     * 机构Id（小程序传参查询用的deptId）
     */
    private Long appQueryDeptId;

    /**
     * 机构名称
     */
    @Excel(name = "机构名称")
    private String deptName;

    /**
     * 建档总数
     */
    @Excel(name = "建档总数")
    private Long merchantNum;

    /**
     * 上月新增
     */
    @Excel(name = "上月新增")
    private Long merchantLastMonthNum;

    /**
     * 本月新增
     */
    @Excel(name = "本月新增")
    private Long merchantThisMonthNum;

    /**
     * 较上月对比
     */
    @Excel(name = "较上月对比")
    private Long merchantCompareNum;

    /**
     * 是否只查业务条线（支行和分理处，不含总行各部室），0：是，1：否
     */
    private String isServiceLine;

    /**
     * 个人客户类型，1：农户，2：新市民
     */
    private String perType;

    public Long getRank() {
        return rank;
    }

    public void setRank(Long rank) {
        this.rank = rank;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getAppQueryDeptId() {
        return appQueryDeptId;
    }

    public void setAppQueryDeptId(Long appQueryDeptId) {
        this.appQueryDeptId = appQueryDeptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public Long getMerchantNum() {
        return merchantNum;
    }

    public void setMerchantNum(Long merchantNum) {
        this.merchantNum = merchantNum;
    }

    public Long getMerchantLastMonthNum() {
        return merchantLastMonthNum;
    }

    public void setMerchantLastMonthNum(Long merchantLastMonthNum) {
        this.merchantLastMonthNum = merchantLastMonthNum;
    }

    public Long getMerchantThisMonthNum() {
        return merchantThisMonthNum;
    }

    public void setMerchantThisMonthNum(Long merchantThisMonthNum) {
        this.merchantThisMonthNum = merchantThisMonthNum;
    }

    public Long getMerchantCompareNum() {
        return merchantCompareNum;
    }

    public void setMerchantCompareNum(Long merchantCompareNum) {
        this.merchantCompareNum = merchantCompareNum;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getIsServiceLine() {
        return isServiceLine;
    }

    public void setIsServiceLine(String isServiceLine) {
        this.isServiceLine = isServiceLine;
    }

    public String getPerType() {
        return perType;
    }

    public void setPerType(String perType) {
        this.perType = perType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("rank", getRank())
                .append("userId", getUserId())
                .append("userName", getUserName())
                .append("deptId", getDeptId())
                .append("appQueryDeptId", getAppQueryDeptId())
                .append("deptName", getDeptName())
                .append("merchantNum", getMerchantNum())
                .append("merchantLastMonthNum", getMerchantLastMonthNum())
                .append("merchantThisMonthNum", getMerchantThisMonthNum())
                .append("merchantCompareNum", getMerchantCompareNum())
                .append("isServiceLine", getIsServiceLine())
                .append("perType", getPerType())
                .toString();
    }
}
